import Vue from 'vue'
import VueRouter from 'vue-router'
import Border from '../views/Border.vue'

Vue.use(VueRouter)

  const routes = [
  {
    path: '/',
    name: 'Border',
    component: Border
  },
  {
    path: '/form',
    name: 'Form',
    component: () => import(/* webpackChunkName: "about" */ '../views/Form.vue')
  },
  {
    path: '/form1',
    name: 'Form1',
    component: () => import(/* webpackChunkName: "about" */ '../views/Form1.vue')
  },
]

const router = new VueRouter({
  mode: 'history',
  base: process.env.BASE_URL,
  routes
})

export default router
